package com.gj.subclass.model;

import com.gj.subclass.error.ErrorMessageVo;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.logging.ErrorManager;

/**
 * Created by Tan
 * gyunhen on 2021-06-24.
 */
@Data
public class SubClassAddVo {

    @NotBlank(message = ErrorMessageVo.MINGCHENGBUNENGWEIKONG)
    private String name;
    @NotNull(message = ErrorMessageVo.BIANMABUNENGWEIKONG)
    private String code;
    @NotNull(message = ErrorMessageVo.ZHUANGTAIBUNENGWEIKONG)
    private Boolean status;
    private String remark;
}
